package net.interneteidee.utility;

import javax.faces.bean.ManagedBean;
import javax.faces.bean.SessionScoped;
import javax.inject.Inject;

import net.interneteidee.servizi.ProdottoCategoriaFamigliaService;

@ManagedBean
@SessionScoped
public abstract class GenericTab {

	@Inject
	ProdottoCategoriaFamigliaService prodottoCategoriaFamigliaService;
	
	
	private String name;
	private String pathDaIncludere;
	private String statusRecord;

	

	public GenericTab() {
		// TODO Auto-generated constructor stub
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPathDaIncludere() {
		return pathDaIncludere;
	}

	public void setPathDaIncludere(String pathDaIncludere) {
		this.pathDaIncludere = pathDaIncludere;
	}
	
	

	public String getStatusRecord() {
		return statusRecord;
	}

	public void setStatusRecord(String statusRecord) {
		this.statusRecord = statusRecord;
	}

	/* (non-Javadoc)
	 * @see java.lang.Object#hashCode()
	 */
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((name == null) ? 0 : name.hashCode());
		return result;
	}

	/* (non-Javadoc)
	 * @see java.lang.Object#equals(java.lang.Object)
	 */
	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		GenericTab other = (GenericTab) obj;
		if (name == null) {
			if (other.name != null)
				return false;
		} else if (!name.equals(other.name))
			return false;
		return true;
	}

	

	

	
	
	
	
}
